Next | Prev | Up | Top | Contents | Index

Producing Diagnostic Displays

Normally a device or STREAMS driver produces display output in only two cases:

Both of these purposes are served by the cmn_err() function. It brings to a kernel-level module the abilities that a user-level process gets from printf() and syslog().


Using cmn_err
Using printf()
Using ASSERT

Next | Prev | Up | Top | Contents | Index